package com.ynet.middleground.approve.bean;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 用户是否重复启动某一流程请求对象
 * @date 2019-11-29 15:33
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "用户是否重复启动某一流程请求对象", description = "查询用户是否重复启动某一流程")
public class QueryRepeatStartProcessReq extends BaseReqObj {

    private static final long serialVersionUID = 8528043394225927944L;

    @ApiModelProperty(value = "用户ID", notes = "用户ID", required = true, dataType = "String")
    @NotBlank(message = "用户ID不能为空")
    private String startUserId;

    @ApiModelProperty(value = "流程定义Key", notes = "流程定义Key", required = true, dataType = "String")
    @NotBlank(message = "流程定义Key不能为空")
    private String processDefinitionKey;

}
